<?php 
/**
 * $ModDesc
 * 
 * @version		$Id: helper.php $Revision
 * @package		modules
 * @subpackage	mod_lofflashcontent
 * @copyright	Copyright (C) JAN 2010 LandOfCoder.com <@emai:landofcoder@gmail.com>. All rights reserved.
 * @license		GNU General Public License version 2
 */
 // no direct access
defined('_JEXEC') or die;
?>
<div   id="lofbreakingnews<?php echo $module->id; ?>" class="lof-breakingnews<?php echo $params->get('mod_lofslidenews');?> lof-layout-<?php echo $params->get('layout_style','hrleft');?>">
	
	<div class="lof-module-nav">
    <?php if( $params->get('display_module_title', 1) ) :  ?>
     <div class="lof-module-title"><?php echo $params->get( 'module_title','Breaking News:' );?></div>
     <?php endif; ?>
     <?php if( $params->get('display_button',1) ): ?>
     <div class="lof-button-driven">
        <a href="" onclick="return false;" class="lof-button-previous">
        	<span><?php echo JText::_("PREVIOUS");?></span>
        </a>
        <a href="" onclick="return false;" class="lof-button-next">
        	<span><?php echo JText::_("NEXT");?></span>
         </a>	
     </div>  
     <?php endif; ?>
    </div>
	
    <div class="lof-breakingnews-wrapper" >
     <!-- MAIN CONTENT --> 
          <?php foreach( $list as $row )  : ?>
          <div class="lof-breakingnew-item">
			  		<?php echo $row->showingtext; ?>
          </div>
          <!-- END MAIN CONTENT --> 
           <?php endforeach; ?>	
  	 </div>       
   
</div> 